import request from '@/router/axios';

export const getList = () => {
  return request({
    url: '/api/beetles-business/offer-conflict/conflicted-list',
    method: 'get',
  })
}

export const count = () => {
  return request({
    url: '/api/beetles-business/offer-conflict/count',
    method: 'get',
  })
}

export const agencyOldList = (newOfferId) => {
  return request({
    url: '/api/beetles-business/offer-conflict/agency-old-list',
    method: 'get',
    params: {
      newOfferId
    }
  })
}
export const submit = (newOfferId) => {
  return request({
    url: '/api/beetles-business/offer-conflict/submit',
    method: 'get',
    params: {
      newOfferId
    }
  })
}
